<h1>Last statistics</h1><a href="<?php echo url_for('performance/new') ?>">Add new stat</a>
<table>
  <thead>
    <tr>
      <th>User</th>
      <th>Round</th>
	  <th>Clan war</th>
      <th>Stat1</th>
      <th>Stat2</th>
      <th>Stat3</th>
      <th>Stat4</th>
      <th>Stat5</th>
      <th>Stat6</th>
      <th>Stat7</th>
      <th>Stat8</th>
      <th>Stat9</th>
      <th>Stat10</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($performances as $performance): ?>
    <tr>
      
      <td><a href="<?php echo url_for('performance/show?id='.$performance->getId()) ?>"><?php echo $performance->getUser()->getNick() ?></a></td>
      <td><?php echo $performance->getRound()->getMap() ?></td>
	  <td><?php echo $performance->getRound()->getWar()->getClan() ?> vs. <?php echo $performance->getRound()->getWar()->getClan_4() ?></td>
      <td><?php echo $performance->getStat1() ?></td>
      <td><?php echo $performance->getStat2() ?></td>
      <td><?php echo $performance->getStat3() ?></td>
      <td><?php echo $performance->getStat4() ?></td>
      <td><?php echo $performance->getStat5() ?></td>
      <td><?php echo $performance->getStat6() ?></td>
      <td><?php echo $performance->getStat7() ?></td>
      <td><?php echo $performance->getStat8() ?></td>
      <td><?php echo $performance->getStat9() ?></td>
      <td><?php echo $performance->getStat10() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>
